﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SH.Order.Domain.OrderClass
{
    /// <summary>
    /// 订单信息表
    /// </summary>

   
    public  class OrderInfo
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsIdentity = true, IsPrimaryKey = true)]
        public int Id { get; set; }
        /// <summary>
        ///订单编号(雪花id)
        /// </summary>
        //[SugarColumn(ColumnDataType ="Nvarchar(20)")]
       public string  OrderNo {  get; set; }
        /// <summary>
        /// 房型id
        /// </summary>
        public int RTId { get; set; }
        /// <summary>
        /// 入住时间
        /// </summary>
        public DateTime EntryTime { get; set; }
        /// <summary>
        /// 离开时间
        /// </summary>
        public DateTime LeaveTime {  get; set; }
        /// <summary>
        /// 实际支付
        /// </summary>
        public decimal  ActualPay {  get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public int OrderStatus {  get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public int PayMode {  get; set; }
        /// <summary>
        /// 订单类型
        /// </summary>
        public int   OrderType {  get; set; }
        /// <summary>
        /// 房间id
        /// </summary>
        public int CoustomerId {  get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public DateTime OrderTime { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }
        public string TenantId {  get; set; }

    }


}
